﻿using System;
using System.Collections.Generic;
using System.Text;
using WxOpenPlatLibCore.WXMsgDataModel;

namespace WxOpenPlatLibCore
{
    public class WeiXinApiConfig
    {
        /// <summary>
        /// grant_type
        /// </summary>
        public static string grant_type = "client_credential";
        /// <summary>
        /// 应用ID
        /// </summary>
        public static string appid = "wxb5713e633926ddba";
        /// <summary>
        /// 应用密钥
        /// </summary>
        public static string secret = "5af9b6e3f83654f48d3a01ec367877c4";
        /// <summary>
        /// 消息加解密密钥
        /// </summary>
        public static string EncodingAESKey = "";

        /// <summary>
        /// 微信菜单类型
        /// </summary>
        public static List<MenuType> WeiXinMenuType = new List<MenuType>()
        {
            new MenuType(){Name="点击推事件",Value="click"},
            new MenuType(){Name="跳转URL",Value="view"},
            new MenuType(){Name="扫码推事件",Value="scancode_push"},
            new MenuType(){Name="扫码推事件且弹出“消息接收中”提示框",Value="scancode_waitmsg"},
            new MenuType(){Name="弹出系统拍照发图",Value="pic_sysphoto"},
            new MenuType(){Name="弹出拍照或者相册发图",Value="pic_photo_or_album"},
            new MenuType(){Name="弹出微信相册发图器",Value="pic_weixin"},
            new MenuType(){Name="弹出地理位置选择器",Value="location_select"},
            new MenuType(){Name="下发消息（除文本消息）",Value="media_id"},
            new MenuType(){Name="跳转图文消息URL",Value="view_limited"}
        };

        public WeiXinApiConfig()
        {

        }
    }

}
